<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/8/15 0015
  Time: 13:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<%@ page isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <sf:form method="post" modelAttribute="user" enctype="multipart/form-data">
        用户名:<sf:input path="username"></sf:input> <sf:errors path="username"></sf:errors> </br>
        用户昵称:<sf:input path="nickname"></sf:input> <sf:errors path="nickname"></sf:errors> </br>
        用户密码:<sf:password path="password"></sf:password> <sf:errors path="password"></sf:errors> </br>
        用户邮箱:<sf:input path="email"></sf:input> <sf:errors path="email"></sf:errors> </br>
        用户文件:<input type="file" name="file"/>
        用户文件:<input type="file" name="file"/>
        <input type="submit" value="添加用户"/> </br>
    </sf:form>
</body>
</html>
